package com.central.scheduler.api.service;

import com.central.scheduler.dao.entity.Server;

import java.util.List;

/**
 * @author Tindy
 * @date 2021/12/15
 * @describe
 */
public interface IMonitorService {
    /**
     * query master list
     *
     * @return master information list
     */
    List<Server> queryMaster();
    List<Server> getServerListFromRegistry(boolean isMaster);
}
